package com.dandandog.framework.mybatis.entity;

import lombok.Getter;
import lombok.Setter;

/**
 * @Author: JohnnyLiu
 * @Date: 2021/11/17 11:40
 */
@Getter
@Setter
public class IndexEntity extends BaseEntity implements Comparable<IndexEntity> {

    private Integer seq;

    @Override
    public int compareTo(IndexEntity o) {
        return this.getSeq().compareTo(o.getSeq());
    }

}
